-- GENERATED SPELL FOR [Flame Imp] --


function spell0_11669(pUnit, Event) --@Fire Nova,Self--
pUnit:FullCastSpellOnTarget(20602,pUnit)
pUnit:RegisterEvent('Sorts_11669', 661, 1)
end

function Sorts_11669(pUnit, Event)
local choix_sorts_11669 = math.random(0, 0)
if choix_sorts_11669 == 0 then
pUnit:RegisterEvent('spell0_11669', 1, 1)
end
end

function mob11669_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_11669', math.random(1500, 3000), 1)
end

function mob11669_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11669_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11669_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(11669, 1, 'mob11669_Action')
RegisterUnitEvent(11669, 2, 'mob11669_Leave')
RegisterUnitEvent(11669, 3, 'mob11669_Kill')
RegisterUnitEvent(11669, 4, 'mob11669_Die')
